home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Chip 2002 July
/
07_02.iso
/
software
/
xq-xsetup
/
files
/
setup.exe
/
{app}
/
plugins
/
XQ WinMessenger 2.xpl
< prev
next >
Wrap
Text File
|
2002-01-10
|
2KB
|
69 lines
"FILE"="Xteq Systems X-Setup Plugin 6.0"
"TYPE"="1"
"COUNT"="4"
"UIPATH"="Internet\Instant Messaging\Windows Messenger\Servers"
"NAME"="Default Servers"
"LANGUAGE"="VBScript"
"VERSION"="1.09"
"TEXT 1"="Server 1"
"TEXT 2"="Server 1 suffix"
"TEXT 3"="Server 2"
"TEXT 4"="Server 2 suffix"
"DESCRIPTION 1"="You may change the values for the four items above to suit your preference."
"DESCRIPTION 2"="The default values are "hotmail.com" (no quotes) for Server 1/suffix and "msn.com" (no quotes) for Server 2/suffix."
"DESCRIPTION 3"="This may not work on newer releases of the MSN Messenger/Windows Messenger service.."
"AUTHOR"="Xteq Systems"
"CONTACTURL"="http://www.xteq.com"
"COPYRIGHT"="Copyright ⌐ Xteq Systems - All Rights Reserved"
"COMMENT 1"=" "
"COMMENT 2"="Thanks to CptSiskoX for the settings and the idea."
sPath="HKLM\Software\Microsoft\MessengerService\Domains\"
sV1="Domain0"
sV2="DomainSuffix0"
sV3="Domain1"
sV4="DomainSuffix1"
Sub Plugin_Initialize
if RegPathExists(sPath) then
s=RegReadValue(sPath & sV1)
SetUIElement 1,s
s=RegReadValue(sPath & sV2)
SetUIElement 2,s
s=RegReadValue(sPath & sV3)
SetUIElement 3,s
s=RegReadValue(sPath & sV4)
SetUIElement 4,s
else
Disable
end if
End Sub
Sub Plugin_CheckData(ElementIndex)
End Sub
Sub Plugin_Apply(ElementIndex,ElementSubIndex)
s=GetUIElement(1)
Call RegWriteValue(sPath & sV1,s,1)
s=GetUIElement(2)
Call RegWriteValue(sPath & sV2,s,1)
s=GetUIElement(3)
Call RegWriteValue(sPath & sV3,s,1)
s=GetUIElement(4)
Call RegWriteValue(sPath & sV4,s,1)
End Sub
Sub Plugin_Terminate
End Sub